package
{
	import org.flixel.*;
	public class Chicken extends TrainAnimal
	{
		
		public function Chicken(START_X:int, START_Y:int, theImage:Class)
		{
			super(START_X,START_Y,theImage);
			addAnimation("run", [0,1,2,3],15);
			addAnimation("thrown", [4,5,6,7,8,9,10,11], 15);
			play("run");
			loadGraphic(Res.ChickenAnim, true, false, 13, 20, false);
		}
		
		
		
		public override function update():void
		{
			super.update();
		}
		
		public override function startThrowingAnim():void {
			play("thrown");
		}
		
		public override function stopThrowingAnim():void {
			play("run");
		}
	}
}